package com.usian.api.admin;

import com.usian.model.admin.dtos.SensitiveDto;
import com.usian.model.admin.pojos.AdSensitive;
import com.usian.model.common.dtos.ResponseResult;

public interface SensitiveControllerApi {
    /**
     * 分页查询敏感词
     * @param sensitiveDto
     * @return
     */
    public ResponseResult list(SensitiveDto sensitiveDto);

    /**
     * 新增敏感词
     * @param adSensitive
     * @return
     */
    public ResponseResult save(AdSensitive adSensitive);

//    修改敏感词
    public ResponseResult update(AdSensitive adSensitive);
    /*
    * 删除敏感词*/
    public ResponseResult deleteById(Integer id);

}
